package cn.yl.game.dice.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class IndexController {
	
	@GetMapping("/dice")
	public String index(String username ,String room,boolean isCreate) {
		return "index";
	}
	
	@GetMapping("/login")
	public String login() {
		return "login";
	}
	
	@GetMapping("/")
	public String toDice() {
		return "login";
	}
	
	
	
}
